<template>
  <div class="upload-box">
    <UploadFile :file-list="fileList" :accept="accept" :max-limit="5" :upload-title="'上传'">
      <template #tips>请上传大文件</template>
    </UploadFile>
  </div>
</template>
<script>
import UploadFile from '@com/UploadFile.vue'
export default {
  name: 'uploadIndex',
  components: {
    UploadFile,
  },
  data() {
    return {
      accept: '.jar,.pdf,.ofd,.doc,.docx,.xls,.xlsx,.wps,.jpeg,.png,.jpg,.exe,.zip,.rar,.arj,.z,.mpeg,.avi,.mov,.wmv,.rmvb,.mp4,.3gp',
      fileList: [],
    }
  },
}
</script>
<style lang="scss" scoped>
.upload-box {
  padding-top: 80px;
}
</style>
